org 0x7c00
[bits 16]
xor ax, ax ; eax = 0
; 初始化段寄存器, 段地址全部设为0
mov ds, ax
mov ss, ax
mov es, ax
mov fs, ax
mov gs, ax



MOV ECX,3;//输入三个字符
XOR EDX,EDX;
NEXT:
    MOV AH,01H;
    INT 21H;
    MOV [ESI+EDX],AL;
    INC EDX;
LOOP NEXT;

times 510 - ($ - $$) db 0
db 0x55, 0xaa
